package com.tjmc.tiomsresource.service;

import com.tjmc.tiomscore.model.TiNel;
import com.tjmc.tiomscore.model.TiPort;
import com.tjmc.tiomscore.model.TranPtnHwPrt;

import java.util.List;

/**
 * @author Luc
 * @version 1.0
 * @date 2020-05-23 11:38
 */
public interface CMPrtService extends CMSuperService<TranPtnHwPrt> {
    void buildTiPortToDB();
    void correctTplId();

    TiPort createPortFromTranPtnHwPrt(String rmuid);

    List<TiPort> getTiPortsByTiNel(TiNel tiNel, int type); //0: 全量；1：NNI

    TiPort getTiPortsByTiNelAndTiPrtNativename(TiNel tiNel, String nativename);
}
